<!--
 * @Author: liu_lizhi
 * @Date: 2021-01-07 16:26:35
 * @LastEditTime: 2021-08-07 16:01:32
 * @Description: 
-->
<template>
  <div id="app">
    <!-- <van-nav-bar :title="title" left-text="返回" :border="true">
      <van-icon name="search" slot="right" @click="searchEvent"/>
    </van-nav-bar> -->
    <router-view class="main-container"/>
    <!-- <Tabbar></Tabbar> -->
    <!-- 每个模块页面询问添加版权信息及当前微应用版本号 -->
    <!-- <micro-version :fun-code="funCode"></micro-version> -->
  </div>
</template>

<script>
//版本信息组件
// import MicroVersion from '@/components/MicroVersion'
import Tabbar from '@/components/tabbar'
import Utils from '@/utils/util'
export default {
  name: 'App',
  components: { Tabbar },
  data () {
    return {
      title: '机器人',
      funCode: 'robot'  //应用code
    }
  },
  methods: {
    searchEvent() {
      console.log('搜索事件')
    }
  },
  mounted() {
    var userInfo = {
      orgId: "11000007563371",//班组id
      orgName: "变电运维一班",
      userId: "100000943",//登录用户id
      userName: "刘晓康"
    }
    localStorage.setItem("userInfo",JSON.stringify(userInfo))
    Utils.baseUtil.getAllCodeList();
  }
}
</script>

<style>
#app {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  background: #f2f2f2;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body{
  padding: none !important;
}
/*滚动条优化 start*/
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background:#f6f6f6;
  border-radius: 2px;
}
::-webkit-scrollbar-thumb {
  background: #cdcdcd;
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
  background: #747474;
}
::-webkit-scrollbar-corner {
  background: #f6f6f6;
}
.rotate-icon{
   transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
}
.line_green{
    display: inline-block;
    height: 16px;
    width: 3px;
    background: #17B49B;
    border-radius: 3px;
    position: relative;
    top: 3px;
    margin-right: 10px;
}
.copyPage .line /deep/ .van-field__label {
    background: #1481EE;
    color: white;
    text-align: center;
    border-radius: 3px;
    padding: 5px 10px;
}
.copyPage .line-title{
    height: 30px;
    line-height: 30px;
    padding-left: 14px;
}
.copyPage .line /deep/ .van-cell.van-field{
  border-bottom: 1px solid #f3f3f3;
}
.copyPage /deep/ .van-collapse{
    /* margin-top: 46px; */
    height: calc(100% - 97px);
    overflow-y: auto;
}
/*滚动条优化 end*/
</style>
